//查看需求列表
import request from '/@/utils/request';
const getDemandList = (params: any) => {
	return request({
		url: '/usDemand/page',
		method: 'get',
		data: params,
	});
};
//提交需求
const postDemand = (params: any) => {
	return request({
		url: '/usDemand/add',
		method: 'post',
		data: params,
	});
};
//修改需求
const postChangeDemand = (params: any) => {
	return request({
		url: '/usDemand/edit',
		method: 'post',
		data: params,
	});
};
//删除需求
const postDeleteDemand = (params: any) => {
	return request({
		url: '/usDemand/delete',
		method: 'post',
		data: params,
	});
};
export { getDemandList,postDemand,postChangeDemand,postDeleteDemand };
